package com.upb.webserver.common.pojo.fisco.contract;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class ReqSaveContractVO {
    @NotNull
    private Integer applicationId;
    private Integer contractId;
    @NotBlank
    @Length(max = 70)
    private String contractName;
    @NotBlank
    @Length(max = 10)
    private String contractPath;
    private String contractSource;
    private String contractAbi;
    private String contractBin;
    private String bytecodeBin;
}
